package com.zzj.hotel.service;


import java.util.List;

import org.hibernate.Session;

import com.zzj.hotel.core.entity.Article;


public interface ArticleService 
{
    public Article findById(String id);
    
    public List<Article> findAll();

	public List<Article> findList(String articleId);
	
	public List<Article> findList(String articleId,int first,int last,String sort);
	
	public List<Article> findList(int first,int last,String sort);
	
	public Long getCount(String hql);

	public void deleteArticle(String articleId);
	
	public void addArticle(Article article);
	
	public void updateArticle(Article article);
    
}
